<template>
  <div>
<van-search
  class="search"
  background="transparent"
  v-model="value"
  show-action
  disabled
  label="上海"
  left-icon
  placeholder="请输入小区或地址"
  @search="onSearch"
>
<template #label >
  <div @click='clickFn'>上海<span class="three">▾</span></div>
</template>
  <template #action>
    <van-icon name="aim" />
  </template>
</van-search>
  </div>
</template>

<script>
export default {

  methods: {
    onSearch () {},
    clickFn () {
      console.log(1)
    }
  },
  data () {
    return {
      value: '',
      active: ''
    }
  }
}
</script>

<style>
.search{
  position:absolute;
  top: 20px;
  z-index: 1;
}
</style>
